<div class="module module-product-detail">
    <div class="title">
        <h1><a href="<?php echo current_url();?>" title="<?php echo $product_check['Name'];?>"><?php echo $product_check['Name'];?></a></h1>
        <div class="clear-both"></div>
    </div>
    <div class="content">
        <div class="content-info">
            <div class="content-img">
                <a rel="group_slide" href="<?php echo $product_check['Img'];?>" title="<?php echo $product_check['Name'];?>">
                    <img src="<?php echo $product_check['Img'];?>" alt="<?php echo $product_check['Name'];?>" title="<?php echo $product_check['Name'];?>"/>
                </a>
            </div>
            <div class="content-infoProduct">
                <div class="item item-1">
                    <div class="left"><?php echo lang('frontend.product_name');?>:</div>
                    <div class="right"><?php echo $product_check['Name'];?></div>
                    <div class="clear-both"></div>
                </div>
                <div class="item item-2">
                    <div class="left"><?php echo lang('frontend.code');?>:</div>
                    <div class="right"><?php echo $product_check['Code'];?></div>
                    <div class="clear-both"></div>
                </div>
            </div>
        </div>
        <div class="clear-both"></div>
        <?php
            $tags = explode(',',$product_check['Tags']);
            if($tags[0]){
        ?>
        <div class="tags">
            <span class="miniTit font-weight-bold">Tags: 
                <?php 
                    $stt = 1;
                    foreach($tags as $tag){
                        $tag = trim($tag);
                        if($stt > 1)
                            echo ', ';
                        echo '<a href="'.base_url().'tags/'._setURL($tag).'" title="'.$tag.'" alt="'.$tag.'">'.$tag.'</a>';
                        ++$stt;
                    }
                ?>
            </span>
            <div class="clear-both"></div>
        </div>
        <?php } ?>
        <div class="clear-both"></div>
        <div class="share">
            <div class="google">
                <div class="hidden">
                    <!-- Update your html tag to include the itemscope and itemtype attributes -->
                    <html itemscope itemtype="http://schema.org/Tin tức video">
                    
                    <!-- Add the following three tags to your body -->
                    <span itemprop="name"><?php echo $product_check['Name'];?></span>
                    <span itemprop="description"><?php echo $product_check['MDes'];?></span>
                    <img itemprop="image" src="<?php echo $product_check['Img'];?>"/>
                </div>
                <!-- Đặt thẻ này ở nơi bạn muốn nút +1 hiển thị -->
                <g:plusone href="<?php echo current_url();?>"></g:plusone>
                
                <!-- Đặt cuộc gọi hiển thị này ở nơi thích hợp -->
                <script type="text/javascript">
                  window.___gcfg = {lang: 'vi'};
                  (function() {
                    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
                    po.src = 'https://apis.google.com/js/plusone.js';
                    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
                  })();
                </script>
                <div class="clear-both"></div>
            </div>
            <div class="facebook">
                <div id="fb-root"></div>
                <script>(function(d, s, id) {
                  var js, fjs = d.getElementsByTagName(s)[0];
                  if (d.getElementById(id)) return;
                  js = d.createElement(s); js.id = id;
                  js.src = "//connect.facebook.net/vi_VN/all.js#xfbml=1";
                  fjs.parentNode.insertBefore(js, fjs);
                }(document, 'script', 'facebook-jssdk'));</script>
                <meta property="og:title" content="<?php echo $product_check['Name'];?>" />
                <meta property="og:type" content="" />
                <meta property="og:video:type" content="application/x-shockwave-flash" /> 
                <meta property="og:url" content="<?php echo current_url();?>" />
                <meta property="og:image" content="<?php echo $product_check['Img'];?>" />
                <meta property="og:site_name" content="http://www.facebook.com/BaoONN" />
                <meta property="fb:admins" content="100000385933018" />
                
                <div class="fb-like" data-href="<?php echo current_url();?>" data-send="false" data-width="450" data-show-faces="true"></div>
                <div class="clear-both"></div>
            </div>
        </div>
        <div class="clear-both"></div>
        <div class="content-detail"><?php echo $product_check['Content'];?></div>
        <div class="clear-both"></div>
    </div>
    <div class="clear-both"></div>
</div>
<?php if($product_list){ ?>
<div class="module module-product-menu">
    <div class="title"><h2><a href="<?php echo base_url()._setURL($product_check['MName'])."-mproduct-".$$product_check['Menu'];?>.html" title="<?php echo $product_check['MName'];?>"><?php echo $product_check['MName'];?></a></h2></div>
    <div class="content content-product-list">
        <?php include('modproduct-list.php');?>
        <div class="clear-both"></div>
    </div>
    <div class="clear-both"></div>
</div>
<?php } ?>